package testconversion;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import Conversion.ConversionMoneda;

public class TextConversion {
	private int imp_or;
	private int rat;
	
	ConversionMoneda conver = new ConversionMoneda();
	
	@Before
	public void SetUp()
	{
		this.imp_or = 1000;
		this.rat = 166;
	}
	@SuppressWarnings("static-access")
	@Test
	public void testConversion() {
		int result;
		
		result = conver.conversion(imp_or, rat);
		assertEquals(6, result);
		
		
	}

}
